home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / lotus / lotus022.dsk / SURFNET.MPR / SCRIPT / ApproachDoc / Save Web Site.s (.txt) < prev    next >
Null Bytes Alternating  |  1995-11-13  |  2KB  |  24 lines

  1. '++LotusScript Development Environment:2:5:(Options):0:66
  2.  
  3. '++LotusScript Development Environment:2:5:(Forward):0:1
  4. Declare Sub Switchto(Source As Form, View As VIEW)
  5.  
  6. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7.  
  8. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9. Private Sub BindEvents(Byval Objectname_ As String)
  10.     Static Source As FORM
  11.     Set Source = Bind(Objectname_)
  12.     On Event Switchto From Source Call Switchto
  13. End Sub
  14.  
  15. '++LotusScript Development Environment:2:2:Switchto:1:12
  16. Sub Switchto(Source As Form, View As VIEW)
  17.     CurrentApplication.ApplicationWindow.DoMenuCommand(IDM_NEWREC)
  18.     
  19.     Currentview.Save~ Web~ Site.Body.URL.Text = strURL
  20.     Currentview.Save~ Web~ Site.Body.Web~ Page~ Title.Text = strPageTitle
  21.     
  22.     Source.Body.URL.SetFocus
  23.     Source.Body.Web~ Page~ Title.SetFocus
  24. End Sub